package com.happyfamily.springboot.crowdsourcingplatform.service.sun;

import com.happyfamily.springboot.crowdsourcingplatform.model.ServerType;

import java.util.List;

public interface TypeService
{
	public abstract List<ServerType> getNeedType(Integer limit, Integer end);

	public abstract int getNeedSum();

	public abstract List<ServerType> getServerType(Integer limit,Integer end);

	public abstract int getSererSum();

	public abstract List<ServerType> getOtherType(Integer limit,Integer end);

	public abstract int getOtherSum();

	public abstract boolean checkServer(String sname);

	public abstract boolean checkNeed(String sname);

	public abstract boolean checkOther(String sname);

	public abstract boolean addServerType(String sname);

	public abstract boolean addNeedType(String sname);

	public abstract boolean addOtherType(String sname);

	public abstract boolean deleteNeedType(Long sid,String sname);

	public abstract boolean deleteServerType(Long sid);

	public abstract boolean deleteOtherType(Long sid);
}